/******************************************************************************
 * @file    driver_soft_spi.h
 * @author  canrad
 * @version v1.0
 * @date    2024-07-18
 * @brief   软件iic驱动
 ******************************************************************************/

#ifndef DRIVER_SOFT_SPI_H
#define DRIVER_SOFT_SPI_H

#include <mylib/mylib_config.h>

// 写控制bit
#define SOFT_I2C_WR 0
// 读控制bit
#define SOFT_I2C_RD 1

typedef struct
{
    GPIO_TypeDef* scl_gpio;
    
} soft_spi_t;


#endif   // !DRIVER_SOFT_SPI_H
